import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/Home'
import themeDetails from '../components/ThemeDetails'
import Login from '../components/Login'
import About from '../components/About'
import Footer from '../components/Footer'
import GettingStarted from '../components/GettingStarted'
import ForgetPassword from '../components/ForgetPassword'
import UserData from '../components/UserData'





Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            name: 'Home',
            component: Home
        },
        {
            path: '/topic/:id',
            component: themeDetails
        },
        {
            path: '/login',
            component: Login
        },
        {
            path: '/about',
            component: About
        },
        {
            path: '/footer',
            component: Footer
        },
        {
            path: '/gettingstarted',
            component: GettingStarted
        },
        {
            path: '/forgetpassword',
            component: ForgetPassword
        },
        {
            path: '/user/:name',
            component: UserData
        }
    ]
})